package com.odriver.neulearn.Adapter;

import java.util.List;

/**
 * Created by yeruyi on 2016/11/28.
 */

public class CourseLearnBean {


    /**
     * id : 4132
     * parentId : 0
     * time : 7
     * title : 项目引导
     * mList : [{"id":"n4066","parentId":"4132","time":7,"title":"项目介绍","courseId":"4066","url":"http://www.neuedu.com/nps/courseware/course/java_neuonline/oracle_sql_new/2-4.mp4"}]
     * courseId :
     * url :
     */

    private List<CourseListBean> courseList;

    public List<CourseListBean> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<CourseListBean> courseList) {
        this.courseList = courseList;
    }

    public static class CourseListBean {
        private String id;
        private int parentId;
        private int time;
        private String title;
        private String courseId;
        private String url;
        /**
         * id : n4066
         * parentId : 4132
         * time : 7
         * title : 项目介绍
         * courseId : 4066
         * url : http://www.neuedu.com/nps/courseware/course/java_neuonline/oracle_sql_new/2-4.mp4
         */

        private List<MListBean> mList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCourseId() {
            return courseId;
        }

        public void setCourseId(String courseId) {
            this.courseId = courseId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public List<MListBean> getMList() {
            return mList;
        }

        public void setMList(List<MListBean> mList) {
            this.mList = mList;
        }

        public static class MListBean {
            private String id;
            private String parentId;
            private int time;
            private String title;
            private String courseId;
            private String url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCourseId() {
                return courseId;
            }

            public void setCourseId(String courseId) {
                this.courseId = courseId;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
